/// code : 0
/// data : [{"dictValue":"","addTime":1592205851000,"validTimeEnd":2524579200000,"addUser":"init","isDelete":0,"parentDictCode":"ALLERGY","validTimeBeg":1561478400000,"keyID":"19081410564808634890101001","isDisable":0,"modifyUser":"init","groupName":"疾病史二级","modifyTime":1592205851000,"systemName":"云门诊患者端","systemCode":"PERSON","dictCode":"ALLERGY_01","dictOrder":1,"dictName":"动物皮屑","groupCode":"D_PERSON_DOCS_SICKNESS_2ND"}]

class SicknessItemEntity {
  int _code;
  List<Data> _data;

  int get code => _code;
  List<Data> get data => _data;

  SicknessItemEntity({
      int code, 
      List<Data> data}){
    _code = code;
    _data = data;
}

  SicknessItemEntity.fromJson(dynamic json) {
    _code = json["code"];
    if (json["data"] != null) {
      _data = [];
      json["data"].forEach((v) {
        _data.add(Data.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["code"] = _code;
    if (_data != null) {
      map["data"] = _data.map((v) => v.toJson()).toList();
    }
    return map;
  }

}

/// dictValue : ""
/// addTime : 1592205851000
/// validTimeEnd : 2524579200000
/// addUser : "init"
/// isDelete : 0
/// parentDictCode : "ALLERGY"
/// validTimeBeg : 1561478400000
/// keyID : "19081410564808634890101001"
/// isDisable : 0
/// modifyUser : "init"
/// groupName : "疾病史二级"
/// modifyTime : 1592205851000
/// systemName : "云门诊患者端"
/// systemCode : "PERSON"
/// dictCode : "ALLERGY_01"
/// dictOrder : 1
/// dictName : "动物皮屑"
/// groupCode : "D_PERSON_DOCS_SICKNESS_2ND"

class Data {
  String _dictValue;
  int _addTime;
  int _validTimeEnd;
  String _addUser;
  int _isDelete;
  String _parentDictCode;
  int _validTimeBeg;
  String _keyID;
  int _isDisable;
  String _modifyUser;
  String _groupName;
  int _modifyTime;
  String _systemName;
  String _systemCode;
  String _dictCode;
  int _dictOrder;
  String _dictName;
  String _groupCode;

  String get dictValue => _dictValue;
  int get addTime => _addTime;
  int get validTimeEnd => _validTimeEnd;
  String get addUser => _addUser;
  int get isDelete => _isDelete;
  String get parentDictCode => _parentDictCode;
  int get validTimeBeg => _validTimeBeg;
  String get keyID => _keyID;
  int get isDisable => _isDisable;
  String get modifyUser => _modifyUser;
  String get groupName => _groupName;
  int get modifyTime => _modifyTime;
  String get systemName => _systemName;
  String get systemCode => _systemCode;
  String get dictCode => _dictCode;
  int get dictOrder => _dictOrder;
  String get dictName => _dictName;
  String get groupCode => _groupCode;

  Data({
      String dictValue, 
      int addTime, 
      int validTimeEnd, 
      String addUser, 
      int isDelete, 
      String parentDictCode, 
      int validTimeBeg, 
      String keyID, 
      int isDisable, 
      String modifyUser, 
      String groupName, 
      int modifyTime, 
      String systemName, 
      String systemCode, 
      String dictCode, 
      int dictOrder, 
      String dictName, 
      String groupCode}){
    _dictValue = dictValue;
    _addTime = addTime;
    _validTimeEnd = validTimeEnd;
    _addUser = addUser;
    _isDelete = isDelete;
    _parentDictCode = parentDictCode;
    _validTimeBeg = validTimeBeg;
    _keyID = keyID;
    _isDisable = isDisable;
    _modifyUser = modifyUser;
    _groupName = groupName;
    _modifyTime = modifyTime;
    _systemName = systemName;
    _systemCode = systemCode;
    _dictCode = dictCode;
    _dictOrder = dictOrder;
    _dictName = dictName;
    _groupCode = groupCode;
}

  Data.fromJson(dynamic json) {
    _dictValue = json["dictValue"];
    _addTime = json["addTime"];
    _validTimeEnd = json["validTimeEnd"];
    _addUser = json["addUser"];
    _isDelete = json["isDelete"];
    _parentDictCode = json["parentDictCode"];
    _validTimeBeg = json["validTimeBeg"];
    _keyID = json["keyID"];
    _isDisable = json["isDisable"];
    _modifyUser = json["modifyUser"];
    _groupName = json["groupName"];
    _modifyTime = json["modifyTime"];
    _systemName = json["systemName"];
    _systemCode = json["systemCode"];
    _dictCode = json["dictCode"];
    _dictOrder = json["dictOrder"];
    _dictName = json["dictName"];
    _groupCode = json["groupCode"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["dictValue"] = _dictValue;
    map["addTime"] = _addTime;
    map["validTimeEnd"] = _validTimeEnd;
    map["addUser"] = _addUser;
    map["isDelete"] = _isDelete;
    map["parentDictCode"] = _parentDictCode;
    map["validTimeBeg"] = _validTimeBeg;
    map["keyID"] = _keyID;
    map["isDisable"] = _isDisable;
    map["modifyUser"] = _modifyUser;
    map["groupName"] = _groupName;
    map["modifyTime"] = _modifyTime;
    map["systemName"] = _systemName;
    map["systemCode"] = _systemCode;
    map["dictCode"] = _dictCode;
    map["dictOrder"] = _dictOrder;
    map["dictName"] = _dictName;
    map["groupCode"] = _groupCode;
    return map;
  }

}